package com.yizhiliulianta.movie.application.convert;

import com.yizhiliulianta.movie.application.dto.MovieDTO;
import com.yizhiliulianta.movie.domain.bo.MovieBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface MovieDTOConverter {

    MovieDTOConverter INSTANCE = Mappers.getMapper(MovieDTOConverter.class);

    MovieDTO convertBoToMovieDTO(MovieBO movieBO);

    MovieBO convertDtoToMovieBO(MovieDTO movieDTO);


}
